package com.kkks.spring_rest.tick.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kkks.spring_rest.tick.dao.HibernateTemplateBaseDao;
import com.kkks.spring_rest.tick.dao.JdbcBaseDao;
import com.kkks.spring_rest.tick.service.BaseService;


/**
 * @author SC
 * @version 1.0
 * @created 2012-6-19 下午04:55:37
 * @describe
 */

@Service
@Transactional
public class BaseServiceImpl implements BaseService {

	@Autowired 
	private JdbcBaseDao<?> jdbcBaseDao;
	@SuppressWarnings("rawtypes")
	@Autowired 
	private HibernateTemplateBaseDao baseDao;


	public JdbcBaseDao<?> getJdbcBaseDao() {
		return jdbcBaseDao;
	}

	public void setJdbcBaseDao(JdbcBaseDao<?> jdbcBaseDao) {
		this.jdbcBaseDao = jdbcBaseDao;
	}

	@SuppressWarnings("rawtypes")
	public HibernateTemplateBaseDao getBaseDao() {
		return baseDao;
	}

	@SuppressWarnings("rawtypes")
	public void setBaseDao(HibernateTemplateBaseDao baseDao) {
		this.baseDao = baseDao;
	}
	
	
	
}
